/*
 * ****************************************************************************
 * Copyright: 2020-2030, YZChain Tech. Co., Ltd.
 * File name:
 * Description:
 * Author: Dc luo
 * Version: v1.0
 * Date: $DATE
 * History:
 * ***************************************************************************
 */

package com.srp.blockchain.bcos.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigInteger;

@Data
@ApiModel(value = "交易信息DTO")
public class TxInfoDTO {
    @ApiModelProperty(value = "交易哈希")
    private String hash;
    @ApiModelProperty(value = "所在区块高度")
    private BigInteger blockNumber;
    @ApiModelProperty(value = "所在区块哈希")
    private String blockHash;
    @ApiModelProperty(value = "交易发起方")
    private String from;
    @ApiModelProperty(value = "交易接收方")
    private String to;
    @ApiModelProperty(value = "交易消耗")
    private BigInteger gas;
    @ApiModelProperty(value = "交易公钥")
    private String publicKey;
}
